<?php



	/**

	* SmartTemplate Extension addslashes

	* Convert all HTML entities to their applicable characters

	*

	* Usage Example:

	* Content:  $template->assign('MESSAGE', 'Nicht m&ouml;glich!');

	* Template: <a href="alert('{extension:MESSAGE}');">Alert</a>

	* Result:   <a href="alert('Nicht m?glich!');">Alert</a>

	*

	* @author Philipp v. Criegern philipp@criegern.com

	*/

	function smarttemplate_extension_addslashes ( $param )

	{


		$param  =  addslashes($param);

		return $param;

	}



?>